package com.basin.common.core.exception;

import lombok.Getter;

/**
 * @author: Sam ZHONG | sammy1997@aliyun.com
 */
@Getter
public enum BasinExCode {
    // 分布式锁超时
    REDIS_LOCK_ACQUIRE_TIMEOUT(1000, "Redis获取锁超时");
    // 未找到该资源
    private final int code;
    private final String message;

    BasinExCode(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
